package com.foreveredu.erlms.persist;

import java.util.List;

import com.foreveredu.erlms.domain.Examinee;

public interface IExamineeDao extends IDao<Examinee, Integer>{

	//获得本届考试中拥有最大报名号的考生对象
	Examinee getExamineeOfMaxEnrollNumber(int examOrder);

	//通过身份证查找考生
	Examinee findExamineeByIdCard(String idCard,int examOrder);

	//获得本届考试中最大报名号的考生对象
	Examinee getExamineeOfMaxSerialNumber(String schoolCode, int examOrder);

	//通过网报号查找本次考试的考生
	Examinee findExamineeBySerialNumber(String serialNumber, int examOrderOfNow);

	Examinee findExamineeByEnrollNumber(String enrollNumber, int examOrderOfNow);

	Examinee findExamineeByTicketNumber(String ticketNumber, int examOrderOfNow);

	List<Integer> findExamOrderByExaminee();
}
